package com.qcby.dao;

import com.qcby.entity.InformationOverview.CheckingScriptCount;
import com.qcby.entity.InformationOverview.ShopTag;
import com.qcby.entity.InformationOverview.TOP5Chart;
import com.qcby.entity.Shop;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InformationOverviewDao {
    public Integer userCount();

    Integer shopCount();

    Integer checkingsCount();

    Integer auditCount();

    Integer scriptCount();

    Integer tagCount();

    List<TOP5Chart> TOP5Chart();

    List<ShopTag> shopTag();

    List<CheckingScriptCount> CheckingScriptCount();

    List<TOP5Chart> UserTOP5Count();
//如果需要用到if标签的情况下，则必须需要@param
    List<Shop> getAllShops(@Param("rating") Double rating);

}
